//
const currtenlyric = (val) => {
	for (let currentlyric = 1; currentlyric < val.list.length; currentlyric++) {
		if (val.currtentimer < val.list[currentlyric].time) {
			let newindex = currentlyric - 1;
			val.height = 220 - newindex * 20;
			(val.index = newindex);
			let currtenplay = {
				height: val.height == null ? 0 : val.height,
				indexs: val.index == null ? 0 : val.index
			}
			return currtenplay

		}
	}
}

export {
	currtenlyric
}
